<template>
  <div>
    <template><GoodList v-if="showList" :showFilter="showFilter" :isNew="isNew"></GoodList></template>
  </div>
</template>
<script>
import GoodList from "@components/GoodListIndex";

export default {
  name: "DaliyUpdate",
  components: {
    GoodList,
  },
  props: {},
  data: function() {
    return {
      showFilter: false,
      isNew: true,
      showList: false,
    };
  },
  watch: {
    $route(n) {
      n.name !== 'DaliyUpdate' ? this.showList = false : this.update();
    }
  },
  mounted: function() {
    this.update();
  },
  methods: {
    update() {
      this.showList = true;
    }
  }
};
</script>
<style scoped>

</style>
